<template> 	
  <div class="page">
	<div class="layui-fluid">
			<div class="layui-row layui-col-space15">
				<div class="layui-col-md12">
					<div class="layui-card">
						<!--<div class="layui-card-header">编辑</div>-->
						<div class="layui-card-body">		
					    <table class="layui-table">
					      
					      <thead>
					        <tr>
					          <th>打款到的总部账户</th>
					          <th>打款金额</th>
					          <th>打款人账户</th>
					          <th>打款凭证</th>				         
					        </tr> 
					      </thead>
					      <tbody>
					        <tr>
					          <td>1</td>
					          <td>2</td>
					          <td>3</td>
					          <td><img src="require('@/assets/zwyl.jpg')" width="50"/></td>					          
					        </tr>
					        
					      </tbody>
					    </table>
						<div class="layui-form-item">							
							<div class="layui-input-block layright">
								<button class="layui-btn layui-btn-normal" lay-submit lay-filter="setmyinfo" @click="confirmOk">取消</button>
							</div>
						</div>	
							
							
							
						</div>
					</div>
				</div>
			</div>
		</div>
		<input type="hidden" id='id'/>
  </div> 
</template>
<script>

export default {	
  name: 'shopgoods',  
  data () {
    return { 
    	id:'',
    	curindex:1, //页数    	    	    	
    	itemData:{}, 
    	createAt:'',
    }
  },
  mounted(){ 
  	var _this = this;
	 // window.getdates = this.getdates;  
  },
  methods: {  	
		getdates:function(id){		
			var _this = this; 
			_this.id=id;
//			_this.id=$("#id").val();
			var url="/order/itemsJson"
			var dates={
				id:_this.id,				
			}
			ajaxRequest(url,'GET','json',dates,function(ret,err){
			//	alert(JSON.stringify(ret))
				  _this.itemData=ret.content; 
				 // _this.createAt=FormatDate(ret.content[0].createAt)
				 
			})			
		},
		confirmOk:function(){
			alert('开发中')
			return;
		},
  	dotime(val){
  		return FormatDate(val);
  	}
  },
   updated:function(){
		this.isShow = true;
		var _this=this;
		layui.use('form', function(){
		  var form = layui.form;
		  form.render();
		  form.on("select(status)", function(data){										
			   _this.status = data.value
		  });
		});
  },

}
</script>
<style scoped>
.layright{margin-left:90%;margin-top:30px;}
</style>
